package com.crl.module.loaders
{
	import com.crl.module.loaders.workers.ILoadWorker;

	public interface IQueueWorker extends ILoadWorker
	{
		/**
		 * 转到下一个; 
		 * 
		 */		
		function loadNext():void;
		
		/**
		 * 需下载总量; 
		 * @return 
		 * 
		 */		
		function get itemTotal():int;
		
		/**
		 * 当然下载量; 
		 * @return 
		 * 
		 */		
		function get itemLoaded():int;
		
		/**
		 * 
		 * @return 
		 * 
		 */		
		function get workListener():IQueueWorkerListener;
		function set workListener(listener:IQueueWorkerListener):void;
	}
}